#include "tlib_all.h"

int main(int argc, char **argv)
{
	TLIB_DB_LINK stDBLink;
	char sErrMsg[500];
	int i;
	
	TLib_DB_Init(&stDBLink,0);
	
	i = 1;
	while(1)
	{
		sleep(1);
		printf("set ---- %d\n", i++);
		
		TLib_DB_SetDB(&stDBLink, "localhost", "root", "", "oiweb_sys", sErrMsg);
	}
}
